<template>
  <div class="backHome">
    <div class="head zst-box-header">
      <header class="top" ref='header'>
        <a class="back" href="javascript:history.back(-1);"><span></span></a>
        <div class="center"><p>{{ $route.params.gidName }}</p></div>
        <a class="home" href="http://www.15988.com/"></a>
      </header>
    </div>
    <div class="zst-box-conent">
        <h3 class="title"><span></span><p>全部彩种</p></h3>
        <div class="main">
          <router-link class='icon' to='/'></router-link>
          <a class="zst-box-conent-back" href="javascript:history.back(-1);"><span></span></a>
        </div>
       
    </div>
  </div>
	
</template>

<script>
export default {
  name: "backHome",
  data() {
    return { };
  },
  computed: { },
  created() {},
  mounted() {}
};
</script>

<style lang="less" scoped>
.backHome{
  height: 100%;
  background:rgb(245,245,245);
}
.zst-box-header{
  width: 100%;
  height: 45px;
  background:#fff;
  border-bottom:1px #ddd solid;
  .top{
      width: 100%;
      height: 45px;
      line-height:45px;
      box-sizing: border-box;
      z-index: 9;
      background:#fff;
      color: #000;
      text-align: center;
  }
  .top .back{
    position: absolute;
    display: block;
    top:0;
    left: 0;
    font-size: 100px;
    width: 45px;
    height: 45px;
    z-index: 999;
    span{
      position:absolute;
      top: 0px;
      left: 0px;
      display: block;
      width: 45px;
      height: 45px;
      background:url(../assets/icon_close.png) center no-repeat;
      background-size:32px auto;
    }
  }
  .top .home{
      position: absolute;
      display: block;
      top:0;
      right: 0;
      width: 45px;
      height: 45px;
      z-index: 999;
      background:url(../assets/zst/icon_home.png) center no-repeat;
      background-size:27px auto;
  }
  .top .center{
      line-height:45px;
      position:relative;
      font-size:18px;
      padding: 0 45px;
      p{
        display: inline-block;
      }
  }
}
.zst-box-conent{
  height: calc(100vh - 45px);
  .title{
    text-align: center;
    padding:30px 0 10px;
    position:relative;
    z-index: 1;
    p{
      display: inline-block;
      background:rgb(245,245,245);
      font-size: 16px;
      color: #000;
      padding:0 50px;
    }
    span{
      position:absolute;
      width: 60%;
      height: 2px;
      left: 20%;
      top: 60px;
      background:#979797;
      z-index: -1;
    }
  }
  .main{
    width: 80%;
    margin:20px auto;
    .icon{
      display: block;
      width: 78px;
      height: 78px;
      background:url(../assets/icon_backHome.png) no-repeat;
      background-size:100% auto;
    }
    .zst-box-conent-back{
      display: block;
      width: 32px;
      height: 32px;
      background:url(../assets/icon_close.png) center no-repeat;
      background-size:32px auto;
      margin: 80px auto 0;
    }
  }
}
</style>

